<div>
    <xmp is="ms-form" :widget="{$form: @$form}">
        <ms-form-item :widget="{label:'名字'}">
            <ms-input :widget="{id:'test-value',col:'name',value:@value,$rules:{required:true,message:'请输入名字'}}"></ms-input>
        </ms-form-item>
    </xmp>
    <pre>{{@json}}</pre>
</div>